
import {get,post,removeById,update} from "./index";

//查询
export function gettrend(params){
    return get("/trend",params);
}
//添加
export function addtrend(data){
    return post("/trend",data);
}
//删除
export function deltrend(data){
    return removeById("/trend",data);
}
//修改
export let updatetrend = (id,data) => update("/trend",id,data);